import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)


import Layout from "../views/Layout.Vue"
import Login from "../views/Login.Vue"
import News from "../components/News.vue"
Vue.use(VueRouter)

const routes = [
  {
    path:"/layout",
    component:Layout
  },
  {
    name:"login",
    path:"/login",
    component:Login
  },
]

const router = new VueRouter({
  routes
})

export default router
